/**
 * Copyright 2025 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// This file was generated by running 'ng generate @angular/material:theme-color'.
// Proceed with caution if making changes to this file.

@use 'sass:map';
@use '@angular/material' as mat;

// Note: Color palettes are generated from primary: #9AA0A6, secondary: #89b4f8
$_palettes: (
  primary: (
    0: #000000,
    10: #161c21,
    20: #2b3136,
    25: #363c41,
    30: #41474d,
    35: #4d5358,
    40: #595f65,
    50: #72787d,
    60: #8b9197,
    70: #a6acb2,
    80: #c1c7cd,
    90: #dde3e9,
    95: #ecf1f8,
    98: #f6faff,
    99: #fbfcff,
    100: #ffffff,
  ),
  secondary: (
    0: #000000,
    10: #001b3c,
    20: #003061,
    25: #003b74,
    30: #0f4784,
    35: #215390,
    40: #305f9d,
    50: #4c78b8,
    60: #6792d4,
    70: #82adf0,
    80: #a7c8ff,
    90: #d5e3ff,
    95: #ebf1ff,
    98: #f9f9ff,
    99: #fdfbff,
    100: #ffffff,
  ),
  tertiary: (
    0: #000000,
    10: #1f1a21,
    20: #342e36,
    25: #403941,
    30: #4b454c,
    35: #575058,
    40: #635c64,
    50: #7c757d,
    60: #978e97,
    70: #b2a8b1,
    80: #cdc3cd,
    90: #eadfe9,
    95: #f8edf7,
    98: #fff7fc,
    99: #fffbff,
    100: #ffffff,
  ),
  neutral: (
    0: #000000,
    10: #1c1b1c,
    20: #313030,
    25: #3c3b3b,
    30: #474647,
    35: #535252,
    40: #5f5e5e,
    50: #787777,
    60: #929090,
    70: #adabab,
    80: #c8c6c6,
    90: #e5e2e2,
    95: #f3f0f0,
    98: #fcf9f8,
    99: #fffbfb,
    100: #ffffff,
    4: #0e0e0e,
    6: #131314,
    12: #201f20,
    17: #2a2a2a,
    22: #353535,
    24: #393939,
    87: #dcd9d9,
    92: #eae7e7,
    94: #f0eded,
    96: #f6f3f3,
  ),
  neutral-variant: (
    0: #000000,
    10: #191c1f,
    20: #2d3134,
    25: #393c3f,
    30: #44474a,
    35: #505356,
    40: #5c5f62,
    50: #74777b,
    60: #8e9194,
    70: #a9abaf,
    80: #c4c7ca,
    90: #e1e2e6,
    95: #eff1f4,
    98: #f8f9fd,
    99: #fbfcff,
    100: #ffffff,
  ),
  error: (
    0: #000000,
    10: #410002,
    20: #690005,
    25: #7e0007,
    30: #93000a,
    35: #a80710,
    40: #ba1a1a,
    50: #de3730,
    60: #ff5449,
    70: #ff897d,
    80: #ffb4ab,
    90: #ffdad6,
    95: #ffedea,
    98: #fff8f7,
    99: #fffbff,
    100: #ffffff,
  ),
);

$_rest: (
  secondary: map.get($_palettes, secondary),
  neutral: map.get($_palettes, neutral),
  neutral-variant: map.get($_palettes,  neutral-variant),
  error: map.get($_palettes, error),
);

$primary-palette: map.merge(map.get($_palettes, primary), $_rest);
$tertiary-palette: map.merge(map.get($_palettes, tertiary), $_rest);

// Light theme - uses lighter tones for backgrounds, darker for text
$light-theme: mat.define-theme((
  color: (
    theme-type: light,
    primary: $primary-palette,
    tertiary: $tertiary-palette,
  ),
  typography: (
    brand-family: 'Google Sans',
    plain-family: 'Google Sans',
  ),
  density: (
    scale: 0,
  )
));

// Dark theme - uses darker tones for backgrounds, lighter for text
$dark-theme: mat.define-theme((
  color: (
    theme-type: dark,
    primary: $primary-palette,
    tertiary: $tertiary-palette,
  ),
  typography: (
    brand-family: 'Google Sans',
    plain-family: 'Google Sans',
  ),
  density: (
    scale: 0,
  )
));